From: Colin Walters Date: Thu, 11 Aug 2011 10:34:09 +0000 (-0400) Subject: ShellApp: Fix comment about window-backed apps X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~7953 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=2efcbaf20682c3617e35fdb62b9fcade3a69b7dc;p=gnome-shell.git ShellApp: Fix comment about window-backed apps https://bugzilla.gnome.org/show_bug.cgi?id=648149 --- diff --git a/src/shell-app.c b/src/shell-app.c index 0d20f3a80..3acab6013 100644 --- a/src/shell-app.c +++ b/src/shell-app.c @@ -58,7 +58,13 @@ struct _ShellApp ShellAppState state; - GMenuTreeEntry *entry; /* If NULL, this app is backend by exactly one MetaWindow */ + GMenuTreeEntry *entry; /* If NULL, this app is backed by one or more + * MetaWindow. For purposes of app title + * etc., we use the first window added, + * because it's most likely to be what we + * want (e.g. it will be of TYPE_NORMAL from + * the way shell-window-tracker.c works). + */ ShellAppRunningState *running_state;